Method and apparatus for sharing function of external device through complex network

ABSTRACT

A method of sharing a function of a device, the method including detecting at least one device from among a plurality of devices through a first device connected to the plurality of devices through a plurality of networks, wherein the detecting is performed by a second device in the plurality of devices; interworking the second device with a third device in the detected at least one device, through the first device; and using, by the second device, a function of the third device through the first device.

PRIORITY

This application claims priority to Korean Patent Application No. 10-2009-0077874, filed on Aug. 21, 2009, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to communication between devices through a complex network.

2. Description of the Related Art

Recent electronic devices have been provided with a communication function through a network. Some electronic devices communicate through various networks, whereas some devices communicate only through a limited network. Although the performance of the electronic devices using various networks is improving, communication through a heterogeneous network is still inconvenient.

Although electronic devices are widely becoming portable due to miniaturization of the electronic devices and development of a network, it is practically difficult to install all functions in portable electronic devices, and thus only representative functions suitable for the purpose of the portable electronic devices are generally installed.

SUMMARY OF THE INVENTION

The present invention provides function sharing between devices through a network.

According to an aspect of the present invention, there is provided a method of sharing a function of a device, the method including detecting at least one device from among a plurality of devices through a first device connected to the plurality of devices through a plurality of networks, wherein the detecting is performed by a second device in the plurality of devices; interworking the second device with a third device in the detected at least one device, through the first device; and using a function of the third device through the first device, wherein the using is performed by the second device.

Each device of the at least one device detected by the second device may be connected to the first device through a network other than a first network, to which the first and second devices belong, from among the plurality of networks.

The method further includes searching for the at least one device capable of performing a function that the second device requires, from among the plurality of devices connected to the first device, wherein the searching is performed by the second device through the first device; and selecting the third device to be interworked from among the found at least one device, wherein the selecting is performed by the second device.

The method further includes searching for at least one device capable of performing a function that the second device requires, from among the plurality of devices connected to the first device, wherein the searching is performed by the first device; and selecting the third device to be interworked from among the found at least one device, wherein the selecting is performed by the second device.

According to another aspect of the present invention, there is provided a method of sharing a function of a device, the method including receiving an interwork request from a second device that detected at least one device through a first device connected to a plurality of devices through a plurality of networks, wherein the receiving is performed by a third device from among the at least one device; interworking the second device and the third device through the first device; and performing a predetermined function of the third device according to a usage request of the predetermined function received from the second device, through the first device.

The method further includes second device searching for at least one device capable of performing a function required by the second device from among the plurality of devices connected to the first device, and selecting and requesting an interwork with the third device in the found at least one device.

The method further includes the first device searching for at least one device capable of performing a function required by the second device from among the plurality of devices connected to the first device, and the second device selecting and requesting an interwork with the third device in the found at least one device.

According to another aspect of the present invention, there is provided a method of sharing a function of a device, the method including establishing a plurality of networks of a first device connected to a plurality of devices, wherein the first device is connected to at least one device for each of the plurality of networks; and detecting at least one device from among the plurality of devices through the first device, wherein the detecting is performed by a second device in the plurality of devices, interworking the second device with a third device in the at least one device, and using a function of the third device, wherein the using is performed by the second device.

According to another aspect of the present invention, there is provided a device capable of sharing a function of an external device through a plurality of networks, the device including an external device detection controller for controlling an operation of detecting at least one device from among a plurality of devices, through a first device connected to the plurality of devices including a current device through a plurality of networks; an external device interworking controller for controlling interworking with a third device in the detected at least one device, through the first device; and an external device function usage controller for controlling usage of a function of the third device through the first device.

According to another aspect of the present invention, there is provided a device capable of sharing a function of an external device through a plurality of networks, the device including a device interworking request processor for receiving an interworking request from a second device that detected at least one device through a first device connected to a plurality of devices including a current device through a plurality of networks, and controlling interworking with the second device; and an external device function usage request processor for controlling the current device to perform a predetermined function according to a usage request of the predetermined function received from the second device, through the first device.

According to another aspect of the present invention, there is provided a relay device for sharing a function of a device through a plurality of networks, the relay device including a plural networks establishing controller for establishing a plurality of networks connected to a plurality of devices, wherein at least one device is connected to a current device for each of the plurality of networks; and a device function sharing relay for interworking a second device and a third device when the second device in the plurality of devices detects at least one device including the third device from among the plurality of devices through the current device, and relaying an operation of the second device using a function of the third device.

According to another aspect of the present invention, there is provided a computer readable recording medium having recorded thereon a program for executing any of the above methods.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other features and advantages of the present invention will become more apparent by describing in detail embodiments thereof with reference to the attached drawings in which:

FIG. 1 is a block diagram of a device for requesting an external device to share a function, from among devices capable of sharing a function of the external device through a plurality of networks, according to an embodiment of the present invention;

FIG. 2 is a block diagram of a device for performing a shared function between devices, from among devices capable of sharing a function of an external device through a plurality of networks, according to an embodiment of the present invention;

FIG. 3 is a block diagram of a relay device from among devices capable of sharing a function of an external device through a plurality of networks, according to an embodiment of the present invention;

FIG. 4 is a diagram of a plurality of networks established between a plurality of devices centering around a relay device, according to an embodiment of the present invention;

FIGS. 5A and 5B are diagrams for describing operations of a relay device, according to an embodiment of the present invention;

FIGS. 6A through 6D are diagrams for describing an example of sharing a function according to an embodiment of the present invention;

FIGS. 7A through 7D are diagrams for describing another example of sharing a function according to an embodiment of the present invention;

FIG. 8 is a flowchart illustrating a method of requesting an external device to share a function, in a method of sharing a function of a device through a plurality of networks, according to an embodiment of the present invention;

FIG. 9 is a flowchart illustrating a method of performing a shared function between devices, in the method of sharing a function of a device through a plurality of networks, according to an embodiment of the present invention; and

FIG. 10 is a flowchart illustrating a relay method in the method of sharing a function of a device through a plurality of networks, according to an embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

Hereinafter, the present invention will be described more fully with reference to the accompanying drawings, in which embodiments of the invention are shown.

A structure of a device for requesting an external device to share a function, a structure of a device for performing a shared function between devices, and a structure of a relay device for performing a relay function by being connected to a plurality of devices in a plurality of networks will now be described with reference to FIGS. 1, 2, and 3, respectively.

Herein, ‘a relay device for performing a relay function by being connected to a plurality of devices in a plurality of networks’ may be referred to as a first device, ‘a device for requesting an external device to share a function’ may be referred to as a second device, and ‘a device for performing a shared function between devices’ may be referred to as a third device.

The plurality of networks includes both a local area network and a long-distance network, and in detail, may include a wireless protocol complying with a Bluetooth® method, a wireless communication method complying with a wireless fidelity (Wi-Fi) method, and a wireless broadband Internet method complying with a wireless broadband (WiBro) method.

FIG. 1 is a block diagram of a device 100 for requesting an external device to share a function, from among devices capable of sharing a function of the external device through a plurality of networks, according to an embodiment of the present invention.

The device 100 according to the present invention will be referred to as “second device 100”, and includes an external device detection controller 110, an external device interworking controller 120, and an external device function usage controller 130. The device 100 corresponds to the second device from among the first through third devices that are named by classifying the devices capable of sharing a function of an external device through the plurality of networks according to functions.

The external device detection controller 110 detects at least one device from among a plurality of devices in all networks connected to the first device, through the first device connected to the devices including the second device 100 through the plurality of networks.

When the second device 100 is connected to the first device through a first network, the external device detection controller 110 may detect another device connected to the first device through a network other than the first network. In other words, the other device in a heterogeneous network may be detected through the first device.

The second device 100 may detect all devices capable of communication through networks of the first device.

Alternatively, the second device 100 may detect at least one device that is capable of performing a function required by the second device 100, from among the devices connected to the first device. The second device 100 may search for the at least one device capable of performing a function required by the second device 100 from among the devices connected to the first device, and select the third device to be interworked with the second device 100 from among a found at least one device.

Alternatively, when the second device 100 requires a predetermined function, the first device may search for at least one device capable of performing the predetermined function from among the devices in the networks. Here, the external device detection controller 110 of the second device 100 may select and detect the third device from among the at least one device found by the first device.

The first device may arbitrarily recommend at least one device to the second device 100. Here, the external device detection controller 110 may selectively detect the third device to be interworked from among the recommended at least one device.

In order to determine a function of the third device, the second device 100 may obtain information about performable functions of the devices from the first device. Alternatively, the second device 100 may directly request the third device for information about performable functions, and determine whether to use the function of the third device according to a response of the third device.

The external device interworking controller 120 controls interworking with the third device from among the at least one device detected by the second device 100 through the first device.

The external device function usage controller 130 controls the second device 100 to use the function of the third device through the first device.

By interworking with the third device through the first device, the function of the third device may be performed by the third device, wherein the function is unable to be directly performed by the second device 100. Here, the third device performs the shared function, but the second device 100 may obtain result data. Various types of data, such as the result data generated by performing the shared function, may be transferred between the second device 100 and the third device through the first device operating as a relay.

The second device 100 may change a structure of a user interface so as to execute the function of the third device. The second device 100 displays a select menu for a user input on a display unit (not shown). A new select menu for selecting the function of the third device, which is shared with the second device 100, may be further displayed on the display unit, other than a select menu for an existing function, from among the select menu.

FIG. 2 is a block diagram of a device 200 for performing a shared function between devices, from among devices capable of sharing a function of an external device through a plurality of networks, according to an embodiment of the present invention.

The device 200 according to the current embodiment of the present invention will be referred to as “third device 200”, and includes a device interworking request processor 210 and an external device function usage request processor 220. The device 200 corresponds to the third device from among the first through third devices that are named by classifying the devices capable of sharing a function of an external device through the plurality of networks according to functions.

The device interworking request processor 210 receives an interworking request from the second device 100 connected to the first device through the plurality of networks. The second device 100 detects the plurality of devices connected to the first device through the plurality of networks, and requests to interwork with the third device 200. The device interworking request processor 210 processes the interwork request of the second device 100.

The third device 200 may be directly selected and requested to be interworked by the second device. Alternatively, the second device 100 or the first device may search for the third device 200 to be interworked by referring to performable functions of the third device 200.

Information about the performable functions of the third device 200 may be pre-provided to the first or second device by the third device. Alternatively, the information about the performable functions of the third device 200 may be provided to the first or second device according to a request of the first or second device.

The external device function usage request processor 220 may control the third device 200 to perform a predetermined function according to a usage request of the predetermined function of the third device 200 received from the second device 100 through the first device.

The predetermined function corresponding to the usage request may be a function that is unable to be directly performed by the second device 100, but is performable by the third device 200. Here, the third device 200 performs the predetermined function shared with the second device 100, but the external device function usage request processor 220 may provide generated various types of data, such as result data, to the second device 100 through the first device operating as a relay.

The result data obtained by performing the predetermined function of the third device 200 may be formatted to a data format executable by the second device 100, and then transmitted to the second device 100. When the result data of the third device 200 has a data format that is unable to be executed by the second device 100, the third device 200 may format the result data to be executable by the second device 100 and output the result data to the first device.

Information about a function performance status of the third device 200 may be provided to the first device. The second device 100 may display a notification window or a warning window about a current performance status on a user interface, by using the information about the function performance status of the third device 200.

The second and third devices 100 and 200 of FIGS. 1 and 2 are described as separate devices, but the devices connected to the first device may perform functions of both the second device 100 and the third device 200. Accordingly, a device including all elements of the second device 100 and the third device 200 may exist as the device connected to the first device.

FIG. 3 is a block diagram of a relay device 300 from among devices capable of sharing a function of an external device through a plurality of networks, according to an embodiment of the present invention.

The relay device 300 includes a plural networks establishing controller 310 and a device function sharing relay 320. The relay device 300 corresponds to the first device from among the first through third devices that are named by classifying the devices capable of sharing a function of an external device through the plurality of networks according to functions.

The plural networks establishing controller 310 establishes a plurality of networks of the first device 300 connected to the plurality of devices, by connecting the first device 300 to at least one device for each network.

The device function sharing relay 320 relays function sharing between the second device 100 and the third device 200 connected to the first device 300 through individual network. The second device 100 detects at least one device in the networks established by the plural networks establishing controller 310 through the first device 300. The device function sharing relay 320 may relay interworking between the second device 100 and the third device 200 from among the at least one device detected by the second device 100.

Also, the device function sharing relay 320 relays a function of the third device 200 so that the second device 100 uses the function of the third device 200. For example, the device function sharing relay 320 may connect the first device 300 and the second device 100 through the first network, and the first device 300 and the third device 200 through a second network, for data exchange between the second device 100 and the third device 200.

Alternatively, when the second device 100 requests to interwork and share a function with devices in an external network, the first device 300 may connect all devices connected to the first device 300 to the second device 100 through the other network, or connect a device having a certain function requested by the second device 100 to the second device 100.

Also, when result data obtained by performing the function of the third device 200 has a data format that cannot be recognized by the second device 100, the first device 300 may change the data format to be recognizable by the second device 100.

In the first device 300, the second device 100, and the third device 200 from among the plurality of devices in the plurality of networks, according to the embodiments of the present invention, the second device 100 and the third device 200 may share a function while centering around the first device 300.

Specifically, when the second device 100 and the third device 200 are connected to the first device 300 through heterogeneous networks, a direct networking between the second device 100 and the third device 200 is not possible. Accordingly, the function sharing between the second device 100 and the third device 200 through the first device 300 is very useful.

Accordingly, interworking between devices that could not be mutually connected due to different networking methods is possible by mutually connectable devices extended through a complex network, and thus a number of devices used by a user through the interworking increases. Also, a current device may use a predetermined function of a device in a heterogeneous network through a relay device, wherein the predetermined function is not performable by the current device but performable by the device in the heterogeneous network by connecting to the device through the relay device.

FIG. 4 is a diagram of a plurality of networks established between a plurality of devices centering around a relay device, according to an embodiment of the present invention.

A mobile phone 410 is connected to a mobile MP3 player 425 through a first network 420, to a digital camera 435 through a second network 430, and to an Internet 445 through a third network 440. The mobile MP3 player 425 and the digital camera 435 are devices capable of wireless communication, the first and second networks 420 and 430 comply with a local area network method, and the third network 440 complies with a long-distance network method.

It is not possible to directly connect the mobile MP3 player 425 and the digital camera 435 capable of wireless communication according to the local area network method to the Internet 445 according to the long-distance network method. Also, the mobile MP3 player 425 and the digital camera 435 may each wirelessly communicate with the mobile phone 410 according to the local area network method, but if the first and second networks 420 and 430 comply with a heterogeneous network method, it is not possible to directly connect the mobile MP3 player 425 and the digital camera 435.

Accordingly, when the concept of the second device 100, the third device 200, and the first device 300 are applied to a complex network 400 of FIG. 4, the mobile phone 410 may operate as the first device 300, and the mobile MP3 player 425 and the digital camera 435 may each operate as the second device 100 or the third device 200.

Since the complex network 400 of FIG. 4 is only one embodiment of the present invention, the mobile phone 410 may not operate as the third device 300, which functions as a relay for other devices to share a function. If the mobile phone 410 is connected to another relay device through another network, the mobile phone 410 may share a function with an external device through the other relay device.

FIGS. 5A and 5B are diagrams for describing operations of the mobile phone 410, i.e., a relay device, according to an embodiment of the present invention.

When the mobile phone 410 operates as the second device 100, and the mobile MP3 player 425 detects the digital camera 435 in an external network through the mobile phone 410, the mobile MP3 player 425 and the digital camera 435 may interwork through the mobile phone 410.

The mobile MP3 player 425 may be interworked with all detected devices all the time, but throughput and network traffic may be high, and thus the mobile phone 410 may relay interworking with the digital camera 435 at a point of time when the mobile MP3 player 425 requires the interworking.

Also, a user may control an operation of the mobile MP3 player 425 detecting devices in an external network through the mobile phone 410. Specifically, the mobile phone 410 may search for an external device capable of performing a function desired by the user, and notify the mobile MP3 player 425 to detect only the found external device.

The mobile phone 410 may provide a relay menu regarding function sharing between devices as a user interface, so that the user is able to directly control the function sharing between the devices.

A first relay menu 510 is a user description menu for relaying interworking with the digital camera 435 pre-detected by the mobile MP3 player 425. A second relay menu 520 allows the user to determine whether the mobile phone 410 should search for a device to perform a ‘photographing function’ from the complex network 400, if the mobile MP3 player 425 requires to interwork with a device to perform the ‘photographing function’.

The first and second relay menus 510 and 520 of FIGS. 5A and 5B are only embodiments used for convenience of description, and the mobile phone 410 may provide various relay menus for a user interface.

FIGS. 6A through 6D are diagrams for describing an example of sharing a function according to an embodiment of the present invention.

The mobile MP3 player 425 is a device capable of local area networking with the mobile phone 410, and may reproduce a sound file and render an image file. Specifically, when an image file corresponding to a sound file is stored in the mobile MP3 player 425, the mobile MP3 player 425 may reproduce the sound file while displaying the corresponding image file as a background image.

In a reproduction screen 610 of the mobile MP3 player 425 In FIG. 6A, ‘track 1’ music is being reproduced, but an image file of a corresponding album jacket is not stored in the mobile MP3 player 425, and thus the album jacket is not displayed. Also, a user interface of the mobile MP3 player 425 does not have a menu regarding searching for and downloading of the image file of the album jacket.

The mobile MP3 player 425 is connected to the mobile phone 410 through the first network 420, and the mobile phone 410 is connected to the Internet 445 through the third network 440.

The first network 420 is a local area network, and the third network 440 is a long-distance network. Accordingly, it is not possible to directly connect the mobile MP3 player 425 connected to the mobile phone 410 through the local area network, and the Internet 445 connected to the mobile phone 410 through the long-distance network.

However, the mobile MP3 player 425 may detect and mutually interwork with the Internet 445 through the mobile phone 410. Thus, the mobile MP3 player 425 may use a search and download services provided by an Internet service provider through the Internet 445.

Also, the mobile MP3 player 425 may interwork with the Internet 445 and generate a new menu for selecting various functions by using the Internet 445, which is not included in an original user interface, and display the new menu as a user interface. For example, the mobile MP3 player 425 may newly add a menu 620 for using the searching and downloading services to the user interface, so that the user may select an image file searching and downloading function through the Internet 445.

When the user selects the image file searching and downloading function through the Internet 445, the mobile MP3 player 425 may request the mobile phone 410 to perform the image file searching and downloading function through the Internet 445. When the image file is downloaded through the Internet 445, the downloaded image file is transmitted to the mobile MP3 player 425 through the mobile phone 410, and the mobile MP3 player 425 may display a notification window 630 on the user interface that function sharing with an external device is completed, as shown in FIG. 6C.

Accordingly, the mobile MP3 player 425 reproduces the ‘track 1’ music, while displaying an album jacket 640 downloaded and stored by using the Internet 445 as a background image, as shown in FIG. 6D.

FIGS. 7A through 7D are diagrams for describing another example of sharing a function according to an embodiment of the present invention.

A Portable Multimedia Player (PMP) 700 is capable of local area networking with the mobile phone 410, and may reproduce a moving image file. However, the PMP 700 is unable to recognize a moving image file with the extension ‘mpg’. Accordingly, when a command to reproduce the moving image file with the extension ‘mpg’ is received, the PMP 700 displays a warning window 710 notifying that the moving image file is unable to be reproduced, as shown in FIG. 7A.

Since the PMP 700 does not include a transcoding function of a moving file, the PMP 700 does not display a menu about a moving image transcoding on a user interface.

The PMP 700 is connected to the mobile phone 410 through a first local area network, and the mobile phone 410 is connected to a transcoding device 720 through a second local area network.

Since the first and second local area networks comply with different network methods, it is not possible to directly connect the PMP 700 connected to the mobile phone 410 through the first local area network, and the transcoding device 720 connected to the mobile phone 410 through the second local area network.

However, the PMP 700 may detect and mutually interwork with the transcoding device 720 through the mobile phone 410. Accordingly, the PMP 700 may share a transcoding function of the transcoding device 720.

Also, the PMP 700 may interwork with the transcoding device 720 and generate a new menu for selecting functions of the transcoding device 720, which is not included in an original user interface, and display the new menu as a user interface.

For example, as shown in FIG. 7B, the PMP 700 may newly add a moving image transcoding menu 712 using the transcoding device 720 to the user interface, so that the user may select the moving image transcoding function using the transcoding device 720.

When the user selects the moving image transcoding function using the transcoding device 720, the PMP 700 may request the transcoding device 720 to perform the moving image transcoding function through the mobile phone 410. When the moving image transcoding function is completed by the transcoding device 720, the transcoded moving image file is transmitted to the PMP 700 through the mobile phone 410, and the MP 700 may display a notification window 714 on the user interface that function sharing with an external device is completed, as shown in FIG. 7C.

Accordingly, the PMP 700 may obtain and reproduce a moving image file of ‘TRANSFORMER.avr’ in a reproducible data format, as shown in FIG. 7D.

The embodiment of connecting the mobile MP3 player 425 and the internet 445 through the mobile phone 410 has been described with reference to FIGS. 6A through 6D, and the embodiment of connecting the PMP 700 and the transcoding device 720 through the mobile phone 410 has been described with reference to FIGS. 7A through 7D.

The above embodiments are only for understanding, and the first through third devices according to an embodiment of the present invention may be applied to various electronic devices. For example, a relay device exclusive to a complex network may be used as the first device, and when the PMP 700 operating as the second device is interworked with a digital camera operating as the third device through the first device, the PMP 700 may use a photographing function, a photograph editing function, or a moving image photographing function of the digital camera.

When the PMP 700 is interworked with the Internet through the first device, the PMP 700 may use a screen capturing function, a lyric searching function, or shopping function through the Internet. When the PMP 700 is interworked with a digital television (TV) or a Personal Video Recorder (PVR) through the first device, the PMP 700 may record a currently broadcasted program or reproduce an existing recorded broadcast of the digital TV or the PVR through the first device.

Alternatively, the PMP 700 may be connected to a mobile phone through the first device. Here, the PMP 700 may call the mobile phone or use a camera function installed in the mobile phone through the first device.

FIG. 8 is a flowchart illustrating a method of requesting an external device to share a function, in a method of sharing a function of a device through a plurality of networks, according to an embodiment of the present invention.

In step 810, a second device detects at least one device from among a plurality of devices through a first device connected to the plurality of devices through a plurality of networks.

The at least one device detected by the second device may be in a network different from a network through which the first device and the second device are connected. The second device may detect all devices connected to the first device, or may search for and selectively detect a device capable of performing a function desired by the second device.

In step 820, a third device from among the at least one device is interworked with the second device through the first device. Information exchange between the second device and the third device by interworking and connecting the second and third devices may be relayed by the first device.

In step 830, the second device uses a function of the third device through the first device. The second device requests the third device to perform the function that is unable to be performed by the second device but is able to be performed by the third device, and data generated by performing the function may be transmitted to the second device through the first device. The second device may newly generate a user interface menu for sharing a function with an external device.

FIG. 9 is a flowchart illustrating a method of performing a shared function between devices, in the method of sharing a function of a device through a plurality of networks, according to an embodiment of the present invention.

In step 910, a third device from among at least one device receives an interwork request from a second device that detected the at least one device through a first device connected to a plurality of devices through a plurality of networks.

The second device may request interworking to all connectable devices through the first device, but in a restricted environment, the second device may request to interwork only with a device capable of performing a function desired by the second device through the first device. The first or second device may request for information about performable functions of the third device.

In step 920, the second and third devices are interworked with each other through the first device.

In step 930, a predetermined function of the third device is performed according to a usage request received from the second device, through the first device. Information about a function performance status of the third device may be provided to the first device.

FIG. 10 is a flowchart illustrating a relay method in the method of sharing a function of a device through a plurality of networks, according to an embodiment of the present invention.

In step 1010, a plurality of networks of a first device connected to a plurality of devices are established as the first device is connected to at least one device for each network.

In step 1020, a second device in the plurality of devices detects at least one device from among the plurality of devices, the second device and a third device in the at least one device are interworked with each other, and a function sharing process of the second device using a function of the third device is relayed.

According to the present invention, interworking between devices that could not be mutually connected to each other through a complex network is possible, and thus types of devices that are interworked and used by a user becomes various. Also, a predetermined function that could not be performed by a current device at all may be performed by the current device through a device having the predetermined function in a heterogeneous network through a relay device. Since a user interface may be flexibly changed according to a function sharing status between devices, convenience of a user is guaranteed. Also, since devices in a heterogeneous network can be connected to each other, the same result when a network method is changed may be obtained.

The embodiments of the present invention can be written as computer programs and can be implemented in general-use digital computers that execute the programs using a computer readable recording medium. Examples of the computer readable recording medium include magnetic storage media (e.g., ROM, floppy disks, hard disks, etc.), optical recording media (e.g., CD-ROMs, or DVDs), etc.

While this invention has been particularly shown and described with reference to embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. The embodiments should be considered in descriptive sense only and not for purposes of limitation. Therefore, the scope of the invention is defined not by the detailed description of the invention but by the appended claims, and all differences within the scope will be construed as being included in the present invention. 

1. A method of sharing a function of a device, the method comprising: detecting at least one device from among a plurality of devices through a first device connected to the plurality of devices through a plurality of networks, wherein the detecting is performed by a second device in the plurality of devices; interworking the second device with a third device in the detected at least one device, through the first device; and using, by the second device, a function of the third device through the first device.
 2. The method of claim 1, wherein each device of the at least one device detected by the second device is connected to the first device through a network other than a first network, to which the first and second devices belong, from among the plurality of networks.
 3. The method of claim 1, wherein the function of the third device used by the second device is unable to be directly performed by the second device.
 4. The method of claim 1, wherein using, by the second device, the function of the third device comprises: displaying a select menu for a user input on a display unit of the second device; and further displaying a new select menu for selecting the function of the third device, other than a select menu for an existing function, from among the select menu.
 5. The method of claim 1, wherein the plurality of networks comprises a local area network and a long-distance network.
 6. The method of claim 1, wherein data is exchanged between the second device and the third device through the first device.
 7. The method of claim 1, wherein the detecting comprises: searching for the at least one device capable of performing a function that the second device requires, from among the plurality of devices connected to the first device, wherein the searching is performed by the second device through the first device; and selecting the third device to be interworked from among a found at least one device, wherein the selecting is performed by the second device.
 8. The method of claim 1, wherein the detecting comprises: searching for at least one device capable of performing a function that the second device requires, from among the plurality of devices connected to the first device, wherein the searching is performed by the first device; and selecting the third device to be interworked from among a found at least one device, wherein the selecting is performed by the second device.
 9. A method of sharing a function of a device, the method comprising: receiving an interwork request from a second device that detected at least one device through a first device connected to a plurality of devices through a plurality of networks, wherein the receiving is performed by a third device from among the at least one device; interworking the second device and the third device through the first device; and performing a predetermined function of the third device according to a usage request of the predetermined function received from the second device, through the first device.
 10. The method of claim 9, wherein each device of the at least one device detected by the second device is connected to the first device through a network other than a first network, to which the first and second devices belong, from among the plurality of networks.
 11. The method of claim 9, wherein the predetermined function of the third device that is requested to be used by the second device is unable to be directly performed by the second device.
 12. The method of claim 9, wherein the plurality of networks comprises a local area network and a long-distance network.
 13. A method of sharing a function of a device, the method comprising: establishing a plurality of networks of a first device connected to a plurality of devices, wherein the first device is connected to at least one device for each of the plurality of networks; and detecting at least one device from among the plurality of devices through the first device, wherein the detecting is performed by a second device in the plurality of devices, interworking the second device with a third device in the at least one device, and using, by the second device, a function of the third device.
 14. The method of claim 13, wherein each of the at least one device detected by the second device is connected to the first device through a network other than a first network, to which the first and second devices belong, from among the plurality of networks.
 15. A device capable of sharing a function of an external device through a plurality of networks, the device comprising: an external device detection controller for controlling an operation of detecting at least one device from among a plurality of devices, through a first device connected to the plurality of devices comprising a current device through a plurality of networks; an external device interworking controller for controlling interworking with a third device in the detected at least one device, through the first device; and an external device function usage controller for controlling usage of a function of the third device through the first device.
 16. A device capable of sharing a function of an external device through a plurality of networks, the device comprising: a device interworking request processor for receiving an interworking request from a second device that detected at least one device through a first device connected to a plurality of devices including a current device through a plurality of networks, and controlling interworking with the second device; and an external device function usage request processor for controlling the current device to perform a predetermined function according to a usage request of the predetermined function received from the second device, through the first device.
 17. A relay device for sharing a function of a device through a plurality of networks, the relay device comprising: a plural networks establishing controller for establishing a plurality of networks connected to a plurality of devices, wherein at least one device is connected to a current device for each of the plurality of networks; and a device function sharing relay for interworking a second device and a third device when the second device in the plurality of devices detects at least one device including the third device from among the plurality of devices through the current device, and relaying an operation of the second device using a function of the third device.
 18. A computer readable recording medium having recorded thereon a program for executing a method of sharing a function of a device, comprising: a first code segment for detecting at least one device from among a plurality of devices through a first device connected to the plurality of devices through a plurality of networks, wherein the detecting is performed by a second device in the plurality of devices; a second code segment for interworking the second device with a third device in the detected at least one device, through the first device; and a third code segment for using, by the second device, a function of the third device through the first device.
 19. A computer readable recording medium having recorded thereon a program for executing a method of sharing a function of a device, comprising: a first code segment for receiving an interwork request from a second device that detected at least one device through a first device connected to a plurality of devices through a plurality of networks, wherein the receiving is performed by a third device from among the at least one device; a second code segment for interworking the second device and the third device through the first device; and a third code segment for performing a predetermined function of the third device according to a usage request of the predetermined function received from the second device, through the first device.
 20. A computer readable recording medium having recorded thereon a program for executing a method of sharing a function of a device, comprising: a first code segment for establishing a plurality of networks of a first device connected to a plurality of devices, wherein the first device is connected to at least one device for each of the plurality of networks; and a second code segment for detecting at least one device from among the plurality of devices through the first device, wherein the detecting is performed by a second device in the plurality of devices, interworking the second device with a third device in the at least one device, and using, by the second device, a function of the third device. 